package com.gitee.ywj1352.common.util;

import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.lang.reflect.Method;
import java.util.Map;

@Data
@NoArgsConstructor
public class ServerStructure {

    private Object serverObj;

    private Class<?> serverClazz;

    private String serviceName;

    private Map<String,MethodStructure > map;

    @Data
    public static class MethodStructure {

        private String name;

        private Method method;

        private Class<?> returnClazz;

        private Class<?>[] paramsType;

        public MethodStructure() {
        }
    }

}
